package com.huike.repository;

import com.huike.model.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserDao extends JpaRepository<User,Long> {
    /*根据用户id查询用户信息*/
    User findById(long id);

    /*根据id删除用户*/
    void deleteById(long id);


}
